<template>
  <basic-container>
    <CommonDict :name="name" :option="option"></CommonDict>
  </basic-container>
</template>

<script>
    import CommonDict from "../common/CommonDict";
    export default {
        name: 'cityDict',
        data() {
            return {
                name:'cityDict',
                option: {
                    tip: false,
                    tree: true,
                    border: true,
                    index: true,
                    selection: true,
                    viewBtn: true,
                    columnBtn:false,
                    labelWidth:'120',
                    column: [
                        {
                            label: "城市英文名称",
                            prop: "cityEname",
                            search: true
                        },
                        {
                            label: "城市中文名称",
                            prop: "cityName",
                            search: true,
                            rules: [{
                                required: true,
                                message: "请输入城市中文名称",
                                trigger: "blur"
                            }]
                        },
                        {
                            label: "省份ID",
                            prop: "provinceId",
                            type: "number",
                        }
                    ]
                },
            };
        },
        components:{
            CommonDict
        }
    };
</script>

<style>
</style>
